home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / applied / drop < prev    next >
Text File  |  2001-04-06  |  755b  |  22 lines

  1. SYNOPSIS
  2.         int drop(void)
  3.         int drop(int silently)
  4.  
  5. DESCRIPTION
  6.         In compat mode this lfun is used by the efun transfer().
  7.  
  8.         It is called to check if an object wants to be moved out of
  9.         the inventory of a living object. drop() should return 1 to
  10.         prevent dropping. This is the opposite of the get() function.
  11.         That is because if drop() is not defined, it will always be
  12.         possible to drop an object.
  13.  
  14.         If the object self-destructs when drop() is called, be sure to
  15.         return 1, as the destructed item surely not can be dropped.
  16.  
  17.         Most compat mode LPC libraries to define one argument for
  18.         drop. If silently is true, no messages should be written.
  19.  
  20. SEE ALSO
  21.         transfer(E)
  22.